﻿
Partial Class Public_index
    Inherits System.Web.UI.Page

    Protected Sub btnSend_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnSend.Click
        If Me.txtVerificationCode.Text.Trim() = "" Then
            MyObj.ShowMessage("請輸入驗證碼!!")
            Me.txtVerificationCode.Focus()
            Return
        Else
            If Me.txtVerificationCode.Text <> Me.VerificationCode1.VerificationCode Then
                MyObj.ShowMessage("驗證碼輸入錯誤!!")
                Me.txtVerificationCode.Focus()
                Return
            Else
                MyObj.ShowMessage("驗證成功!!")
            End If
        End If
    End Sub
End Class
